import requestMd5 from "@/utils/requestMd5";
import request from "@/utils/request";

export function turnoverOrder_index(params) {
  return requestMd5({
    url: "/turnoverOrder/index",
    method: "get",
    params
  });
}

export function turnoverOrder_searchItems(params) {
  return request({
    url: "/turnover/searchItems",
    method: "get",
    params
  });
}
export function turnoverOrder_getLend(params) {
  return requestMd5({
    url: "/turnoverOrder/getLend",
    method: "get",
    params
  });
}

export function turnoverOrder_add(data) {
  return requestMd5({
    url: "/turnoverOrder/add",
    method: "post",
    data: data
  });
}

// 查看
export function turnoverOrder_info(params) {
  return requestMd5({
    url: "/turnoverOrder/info",
    method: "get",
    params
  });
}

// 审核
export function turnoverOrder_check(data) {
  return requestMd5({
    url: "/turnoverOrder/check",
    method: "post",
    data: data
  });
}
